Cue Formats

Flypaper has a wealth of cues to identify incoming data, notify the user, transform messages, and output actions.  In short, cues are at the heart of Flypaper.  Below is a description of each cue, the format that the descriptive information on the cue must appear in, and an example usage of each cue type.  Use the following formats for editing or adding new cues to your Session Document with the "Add Cue" or "Edit Cue" dialog accessible from the Edit menu.

MIDI Cue and Reaction Cue 
The MIDI cue holds a description of the MIDI information to search for, or the MIDI information to send out.
Use the MIDI cue as a reaction cue by entering the MIDI bytes you wish to send out in the description field.  Output MIDI descriptions may also contain special characters @+/><*- described in Chapter 4, "Midi Cue Syntax."

 And Also... Cue  
The "And Also..." cue causes an additional reaction when the preceding cue is recognized.
This cue takes no description.

Alert Reaction Cue  
Brings up a dialog with some user-specified text in it when executed
Enter the text you wish to appear in the dialog into the description field of this reaction cue.

Sound Reaction Cue  
The Sound Reaction cue plays the "System Beep" sound when executed.  The System Beep is set in the Sound Control Panel.
This cue takes no description.

Value Display Reaction Cue  
This cue displays the value of a user variable.
 
Keyboard Reaction Cue  
Shows information on a graphic keyboard by taking two values: which note to highlight and a which note to unhighlight.
 
Slider Reaction Cue  
Shows information on a graphic slider, by taking one value: the value of the slider.
Shows information on a graphic slider.  The name of the cue becomes the name of the window containing the slider.

Delay Reaction Cue   
Delays for a specified count of 16.6 millisecond increments when executed.

Apple Event Cue  
The Apple Event cue can trigger a cue when an Apple Event is received that matches the cue's apple event type that you specify (an Apple Event type such as 'plno'.. you may define as many as you wish).  You may also issue Apple Events as reaction cues.  This is a very powerful automation feature that allows you to control your MIDI hardware and Flypaper from another Macintosh application such as FileMaker Pro™ or HyperCard™.  You can even control your other Macintosh applications with your MIDI hardware!